package com.org.model;

import java.sql.Timestamp;

/**
 * Review entity. @author MyEclipse Persistence Tools
 */

public class Review implements java.io.Serializable {

	// Fields

	private Long id;
	private Product product;
	private Member member;
	private Timestamp createDate;
	private Timestamp modifyDate;
	private String content;
	private String ip;
	private Boolean isShow;
	private Integer score;

	// Constructors

	/** default constructor */
	public Review() {
	}

	/** minimal constructor */
	public Review(Product product, Timestamp createDate, Timestamp modifyDate,
			String content, String ip, Boolean isShow, Integer score) {
		this.product = product;
		this.createDate = createDate;
		this.modifyDate = modifyDate;
		this.content = content;
		this.ip = ip;
		this.isShow = isShow;
		this.score = score;
	}

	/** full constructor */
	public Review(Product product, Member member, Timestamp createDate,
			Timestamp modifyDate, String content, String ip, Boolean isShow,
			Integer score) {
		this.product = product;
		this.member = member;
		this.createDate = createDate;
		this.modifyDate = modifyDate;
		this.content = content;
		this.ip = ip;
		this.isShow = isShow;
		this.score = score;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Product getProduct() {
		return this.product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	public Member getMember() {
		return this.member;
	}

	public void setMember(Member member) {
		this.member = member;
	}

	public Timestamp getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public Timestamp getModifyDate() {
		return this.modifyDate;
	}

	public void setModifyDate(Timestamp modifyDate) {
		this.modifyDate = modifyDate;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getIp() {
		return this.ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public Boolean getIsShow() {
		return this.isShow;
	}

	public void setIsShow(Boolean isShow) {
		this.isShow = isShow;
	}

	public Integer getScore() {
		return this.score;
	}

	public void setScore(Integer score) {
		this.score = score;
	}

}